using System;
using Volo.Abp;
using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.MultiTenancy;
using System.ComponentModel.DataAnnotations;

namespace Business.Models
{
    /// <summary>
    /// 商品
    /// </summary>
    public class GoodsSP: AuditedAggregateRoot<Guid>, ISoftDelete, IMultiTenant
    {
        public Guid? TenantId { get; set; }

        /// <summary>
        /// 父级编号
        /// </summary>
        public string PNo { set; get; }

        /// <summary>
        /// 条码
        /// </summary>
        [Required]
        public string BarcodesSP { get; set; }
        
        /// <summary>
        /// 商品简称
        /// </summary>
        [Required]
        public string GoodsAbbreviationSP { get; set; }
        
        /// <summary>
        /// 吊牌价
        /// </summary>
        [Required]
        public string TagPriceSP { get; set; }
        
        /// <summary>
        /// 重量
        /// </summary>
        [Required]
        public string WeightSP { get; set; }
        
        /// <summary>
        /// 商品名称
        /// </summary>
        [Required]
        public string GoodsNameSP { get; set; }
        
        /// <summary>
        /// 备注
        /// </summary>
        [Required]
        public string GoodsRemarkSP { get; set; }
        
        /// <summary>
        /// 体积
        /// </summary>
        [Required]
        public string VolumeSP { get; set; }
        
        /// <summary>
        /// 单位
        /// </summary>
        [Required]
        public string UnitSP { get; set; }

        /// <summary>
        /// 图片编号
        /// </summary>
        [Required]
        public string PicNo { get; set; }
        
        /// <summary>
        /// 宽
        /// </summary>
        [Required]
        public string WidthSP { get; set; }
        
        /// <summary>
        /// 长
        /// </summary>
        [Required]
        public string LengthSP { get; set; }
        
        /// <summary>
        /// 高
        /// </summary>
        [Required]
        public string HeightSP { get; set; }
        
        /// <summary>
        /// 辅助条码
        /// </summary>
        [Required]
        public string AidedBarcodesSP { get; set; }
        
        /// <summary>
        /// 货号
        /// </summary>
        [Required]
        public string CatalogNumberSP { get; set; }
        
        /// <summary>
        /// 商品编码
        /// </summary>
        [Required]
        public string GoodsNo { get; set; }
        
        /// <summary>
        /// 商品等级
        /// </summary>
        [Required]
        public string SPGoodsGradeId { get; set; }
        
        /// <summary>
        /// 商品类型
        /// </summary>
        [Required]
        public string SPGoodsTypeId { get; set; }
        
        /// <summary>
        /// 参考进价
        /// </summary>
        [Required]
        public string ConsultsPriceSP { get; set; }
        
        /// <summary>
        /// 标准售价
        /// </summary>
        [Required]
        public string StandardPriceSP { get; set; }
        
        /// <summary>
        /// 体积单位
        /// </summary>
        [Required]
        public string VolumeUnitSP { get; set; }
        
        /// <summary>
        /// 长度单位
        /// </summary>
        [Required]
        public string LengthUnitSP { get; set; }
        
        /// <summary>
        /// 品牌
        /// </summary>
        [Required]
        public string SPBrandId { get; set; }
        
        /// <summary>
        /// 是否保价
        /// </summary>
        [Required]
        public string SPIsYes { get; set; }
        
        /// <summary>
        /// 重量单位
        /// </summary>
        [Required]
        public string WeightUnitSP { get; set; }


        public string GoodsTypeNo { get; set; }



        public bool IsDeleted { get; set; }
    }
}